﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
 public   class Logs
    {
        [Key]
        public int Id { get; set; }
        [StringLength(50)]
        [Required]
        public string UserType { get; set; }
        [StringLength(50)]
        [Required]
        public string UserName { get; set; }
        [StringLength(50)]
        
        public string LoginIp { get; set; }
        
           [Required]
        public int Type { get; set; }

        [Required]
        public string Operation { get; set; }
        
        [Required]
        public DateTime CreateTime { get; set; }
        [StringLength(50)]
        [Required]
        public string Remark { get; set; }
    }
}
